projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opers now ignore nodelete
[srvx.git]
/
src
/
chanserv.c
diff --git
a/src/chanserv.c
b/src/chanserv.c
index 37d6531e5485dddb19db96586324777941a140fb..9358d160a305c46ec36fa7d87a9f6124cf2373c9 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-2391,7
+2391,7
@@
static CHANSERV_FUNC(cmd_move)
REQUIRE_PARAMS(2);
REQUIRE_PARAMS(2);
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info)
&& !IsOper(user)
)
{
reply("CSMSG_MOVE_NODELETE", channel->name);
return 0;
{
reply("CSMSG_MOVE_NODELETE", channel->name);
return 0;
@@
-2699,7
+2699,7
@@
static CHANSERV_FUNC(cmd_merge)
return 0;
}
return 0;
}
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info)
&& !IsOper(user)
)
{
reply("CSMSG_MERGE_NODELETE");
return 0;
{
reply("CSMSG_MERGE_NODELETE");
return 0;
@@
-5425,7
+5425,7
@@
static CHANSERV_FUNC(cmd_csuspend)
REQUIRE_PARAMS(3);
REQUIRE_PARAMS(3);
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info)
&& !IsOper(user)
)
{
reply("CSMSG_SUSPEND_NODELETE", channel->name);
return 0;
{
reply("CSMSG_SUSPEND_NODELETE", channel->name);
return 0;