dnl General initialization.
AC_PREREQ(2.64)
AC_INIT([srvx],[1.4.0-rc3],[srvx-bugs@lists.sourceforge.net])
-CODENAME=nextirc
+CODENAME=wgn
AC_CONFIG_HEADERS(src/config.h)
AC_CONFIG_SRCDIR(src/opserv.c)
dnl AM_CANONICAL_TARGET must be before AM_INIT_AUTOMAKE() or autoconf whines
REQUIRE_PARAMS(2);
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_MOVE_NODELETE", channel->name);
return 0;
return 0;
}
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_MERGE_NODELETE");
return 0;
REQUIRE_PARAMS(3);
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_SUSPEND_NODELETE", channel->name);
return 0;
reply("HSMSG_ACCESS_DENIED");
return 0;
}
- if(!strcmp(argv[2], "*")) {
+ if(!strcmp(fakehost, "*")) {
if(!assignment)
return 0; //simply ignore (there is no assignment in use)
hs_activate_assignment(hs_user, NULL);
if (argc > 1)
send_message_type(4, user, cmd->parent->bot, "%s", git_version);
else
- send_message_type(12, user, cmd->parent->bot, "The srvx Development Team includes Paul Chang, Adrian Dewhurst, Miles Peterson, Michael Poole and others.\nThe srvx Development Team can be reached at http://sf.net/projects/srvx/ or in #srvx on irc.gamesurge.net.\nThis version has been modified by pk910 - visit #srvx @ irc.nextirc.net.");
+ send_message_type(12, user, cmd->parent->bot, "The srvx Development Team includes Paul Chang, Adrian Dewhurst, Miles Peterson, Michael Poole and others.\nThe srvx Development Team can be reached at http://sf.net/projects/srvx/ or in #srvx on irc.gamesurge.net.\nThis version has been modified by pk910 - visit #srvx @ irc.webgamesnet.net.");
return 1;
}