projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f99358
)
fixed cmd_rename (should check the new auth for existence)
author
pk910
<philipp@zoelle1.de>
Sat, 12 Nov 2011 06:15:48 +0000
(07:15 +0100)
committer
pk910
<philipp@zoelle1.de>
Sat, 12 Nov 2011 06:15:48 +0000
(07:15 +0100)
src/cmd_neonserv_rename.c
patch
|
blob
|
history
diff --git
a/src/cmd_neonserv_rename.c
b/src/cmd_neonserv_rename.c
index b061c3fa7c4d3cdc62343542eee1d2e26d5e34f9..d0e64e033b968c33fc01513a38b57b1f8f7cfbe3 100644
(file)
--- a/
src/cmd_neonserv_rename.c
+++ b/
src/cmd_neonserv_rename.c
@@
-44,7
+44,7
@@
CMD_BIND(neonserv_cmd_rename) {
cache->event = event;
cache->oldauth = strdup(argv[0]);
cache->newauth = strdup(argv[1]);
- lookup_authname(argv[
0
], neonserv_cmd_rename_auth_lookup, cache);
+ lookup_authname(argv[
1
], neonserv_cmd_rename_auth_lookup, cache);
}
static AUTHLOOKUP_CALLBACK(neonserv_cmd_rename_auth_lookup) {