removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / NeonFun.mod / cmd_neonfun_unotake.c
index 22fb21c0504cfa0bf1ff495034e27d8dc5e94802..5b6e502b27b4c01a5b9ef95769e7e0aefc6d00b4 100644 (file)
@@ -33,7 +33,7 @@ CMD_BIND(neonfun_cmd_unotake) {
     if(game) {
         //check if it's the player's turn
         if(game->active_player->chanuser != chanuser) {
-            reply(getTextBot(), user, "NF_UNO_NOT_YOUR_TURN");
+            reply(textclient, user, "NF_UNO_NOT_YOUR_TURN");
             return;
         }
         game->active_player->timeout = 0;