Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git] / src / cmd_neonserv_rename.c
index b061c3fa7c4d3cdc62343542eee1d2e26d5e34f9..9b87be4d1df8b88db4acc119518d0e5b7ebbd714 100644 (file)
@@ -1,5 +1,5 @@
-/* cmd_neonserv_rename.c - NeonServ v5.2
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* cmd_neonserv_rename.c - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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) {