*** VERSION 5.5.0 ***
[NeonServV5.git] / src / modules / NeonFun.mod / cmd_neonfun_unoplay.c
index a6b341981ec8939ed63725e43e091559ce7ff9ab..8dcfcd3dfb3be453f0a0869bbe532defcb3a5144 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_neonfun_unoplay.c - NeonServ v5.4
+/* cmd_neonfun_unoplay.c - NeonServ v5.5
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -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;