removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / NeonFun.mod / cmd_neonfun_unoplay.c
index a6b341981ec8939ed63725e43e091559ce7ff9ab..47b25b9443f1d5b4d8d0cb51da3502ac4f5836ad 100644 (file)
@@ -33,7 +33,7 @@ CMD_BIND(neonfun_cmd_unoplay) {
     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;