removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / NeonSpam.mod / cmd_neonspam_addbad.c
index d6ca60cf120e07d5a3b41b30326540bc7b4c3465..c6452c6ba2712ea059fb0ed71e4c8dc0527ada8f 100644 (file)
@@ -53,5 +53,5 @@ CMD_BIND(neonspam_cmd_addbad) {
     badword->reaction_time = reaction_time;
     badword->next = settings->badwords;
     settings->badwords = badword;
-    reply(getTextBot(), user, "SS_BADWORD_ADDED", cbadword, badword_id);
+    reply(textclient, user, "SS_BADWORD_ADDED", cbadword, badword_id);
 }