X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonFun.mod%2Fcmd_neonfun_4stone.c;h=c4ad65fc568d799a37dd61ceeb27b1945af39795;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=96fa0913d35797a221d9e1c0ccd9268996630d47;hpb=eb2aab55a1f97b329c0409d32d35d1f112facedb;p=NeonServV5.git diff --git a/src/modules/NeonFun.mod/cmd_neonfun_4stone.c b/src/modules/NeonFun.mod/cmd_neonfun_4stone.c index 96fa091..c4ad65f 100644 --- a/src/modules/NeonFun.mod/cmd_neonfun_4stone.c +++ b/src/modules/NeonFun.mod/cmd_neonfun_4stone.c @@ -1,4 +1,4 @@ -/* cmd_neonfun_4stone.c - NeonServ v5.4 +/* cmd_neonfun_4stone.c - NeonServ v5.5 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -33,17 +33,17 @@ CMD_BIND(neonfun_cmd_4stone) { if(game) { //check if it's the player's turn if(game->player[game->active_player] != chanuser) { - reply(getTextBot(), user, "NF_4WINS_NOT_YOUR_TURN"); + reply(textclient, user, "NF_4WINS_NOT_YOUR_TURN"); return; } int x = atoi(argv[0])-1; if(x < 0 || x >= FOURWINS_MATRIX_WIDTH) { - reply(getTextBot(), user, "NF_4WINS_INVALID_COLUMN"); + reply(textclient, user, "NF_4WINS_INVALID_COLUMN"); return; } int y = fourwins_next_free_y(game, x); if(y < 0) { - reply(getTextBot(), user, "NF_4WINS_COLUMN_FULL"); + reply(textclient, user, "NF_4WINS_COLUMN_FULL"); return; } timeq_del(game->timer);