fixed last commit
authorpk910 <philipp@zoelle1.de>
Sun, 21 Aug 2011 07:35:02 +0000 (09:35 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 21 Aug 2011 07:35:02 +0000 (09:35 +0200)
cmd_neonserv_delme.c

index 1da0cf8ba2e66d5b0e1bca49a61b93a7cff3d76d..cca126eb0c97609657275e46d0f95dff9ba00704 100644 (file)
@@ -31,10 +31,10 @@ static CMD_BIND(neonserv_cmd_delme) {
             } else {
                 //delete
                 printf_mysql_query("DELETE FROM `chanusers` WHERE `chanuser_id` = '%s'", row[1]);
-                reply(textclient, user, "NS_DELME_DONE", atoi(row[0]), chan->name);
+                reply(getTextBot(), user, "NS_DELME_DONE", atoi(row[0]), chan->name);
                 return;
             }
         }
     }
-    reply(textclient, user, "NS_NOT_ON_USERLIST_YOU", chan->name);
+    reply(getTextBot(), user, "NS_NOT_ON_USERLIST_YOU", chan->name);
 }