diff --git a/ChangeLog b/ChangeLog index f0e0070..821bcc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,7 +7,7 @@ WarServ ChangeLog - configure.in updated version number - updated license details in source files - !stop now calls correct procedure -- channel seetting now requires user level 180 or above +- channel setting now requires Oper user level to change channel 1.1 - added code to enable !stop command diff --git a/README.WarServ b/README.WarServ index fcbfde3..62c642a 100755 --- a/README.WarServ +++ b/README.WarServ @@ -1,6 +1,6 @@ WarServ Manual - _________________________________________________________________ +_________________________________________________________________ 1. Prerequisites and Installation. diff --git a/warserv.c b/warserv.c index 315bada..f1cc49c 100644 --- a/warserv.c +++ b/warserv.c @@ -53,7 +53,7 @@ char csuitcard[10]; ModuleInfo __module_info = { "WarServ", "War Card Game Module For NeoStats", - "1.1", + "1.2", __DATE__, __TIME__ }; @@ -227,7 +227,7 @@ int __BotMessage(char *origin, char **argv, int argc) prefmsg(u->nick, s_module_bot_name, "\2CHAN \2 - Swap WarGame Channel to "); } return 1; - } else if (!strcasecmp(argv[1], "CHAN") && (UserLevel(u) > 179)) { + } else if (!strcasecmp(argv[1], "CHAN") && (UserLevel(u) >= NS_ULEVEL_OPER)) { privmsg(warroom, s_module_bot_name, "%s has moved the Game room to %s, Please Go there now to continue the game", u->nick, argv[2]); chanalert(s_module_bot_name, "%s moved the game to %s", u->nick, argv[2]); spart_cmd(s_module_bot_name, warroom);