X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2FNeonFun.mod%2Fcmd_neonfun_4stone.c;h=ee6151c5d187e207c9cd765e847eb1af4123a6b0;hp=96fa0913d35797a221d9e1c0ccd9268996630d47;hb=de5f0224c8b119f1be15457262bd6e66f160657f;hpb=9f5af1bc8ff4e8fc9c28433c76a890a990dd0ae5 diff --git a/src/modules/NeonFun.mod/cmd_neonfun_4stone.c b/src/modules/NeonFun.mod/cmd_neonfun_4stone.c index 96fa091..ee6151c 100644 --- a/src/modules/NeonFun.mod/cmd_neonfun_4stone.c +++ b/src/modules/NeonFun.mod/cmd_neonfun_4stone.c @@ -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);