Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git] / src / cmd_neonserv_delrank.c
index a1aef86ba435f07a34ff75655275d55d615b5416..489b32a03e1a68f4d69f03f9eb311dd25ab75a47 100644 (file)
@@ -1,5 +1,5 @@
-/* cmd_neonserv_delrank.c - NeonServ v5.0
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* cmd_neonserv_delrank.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
@@ -32,6 +32,6 @@ CMD_BIND(neonserv_cmd_delrank) {
         return;
     }
     printf_mysql_query("UPDATE `users` SET `user_rank` = '0', `user_access` = '0' WHERE `user_rank` = '%s'", row[0]);
-    printf_mysql_query("REMOVE FROM `support_ranks` WHERE `rank_id` = '%s'", row[0]);
+    printf_mysql_query("DELETE FROM `support_ranks` WHERE `rank_id` = '%s'", row[0]);
     reply(getTextBot(), user, "NS_DELRANK_DELETED", row[1]);
 }