Merge branch 'master' of ssh://git.pk910.de:16110/srvx
authorNurPech <nurpech@nurpech.de>
Wed, 27 Feb 2013 19:55:44 +0000 (20:55 +0100)
committerNurPech <nurpech@nurpech.de>
Wed, 27 Feb 2013 19:55:44 +0000 (20:55 +0100)
configure.in
src/chanserv.c
src/modcmd.c

index a3a885165a080b602c80af02da02b311a5ace647..b1f491dcae7e83fb78005a50db0714477d73e722 100644 (file)
@@ -3,7 +3,7 @@ dnl Process this file with autoconf to create a configure script.
 dnl General initialization.
 AC_PREREQ(2.64)
 AC_INIT([srvx],[1.4.0-rc3],[srvx-bugs@lists.sourceforge.net])
-CODENAME=wgn
+CODENAME=nextirc
 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
index 887b95aaa3c4e8ffb8b40ed44f42d253894bf04a..0ebed1b8d33504c411a1c85bb506e934fe751337 100644 (file)
@@ -2382,7 +2382,7 @@ static CHANSERV_FUNC(cmd_move)
 
     REQUIRE_PARAMS(2);
 
-    if(IsProtected(channel->channel_info))
+    if(IsProtected(channel->channel_info) && !IsOper(user))
     {
         reply("CSMSG_MOVE_NODELETE", channel->name);
         return 0;
@@ -2690,7 +2690,7 @@ static CHANSERV_FUNC(cmd_merge)
         return 0;
     }
 
-    if(IsProtected(channel->channel_info))
+    if(IsProtected(channel->channel_info) && !IsOper(user))
     {
         reply("CSMSG_MERGE_NODELETE");
         return 0;
@@ -5409,7 +5409,7 @@ static CHANSERV_FUNC(cmd_csuspend)
 
     REQUIRE_PARAMS(3);
 
-    if(IsProtected(channel->channel_info))
+    if(IsProtected(channel->channel_info) && !IsOper(user))
     {
         reply("CSMSG_SUSPEND_NODELETE", channel->name);
         return 0;
index 2ec8c6f81cd1298c17204702460b932b687fe61f..873624439a3aff4712824f27f17810c6dac135ee 100644 (file)
@@ -1943,7 +1943,7 @@ static MODCMD_FUNC(cmd_version) {
     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.webgamesnet.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.nextirc.net.");
     return 1;
 }