projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e840b0
)
added some nodelete overrides
author
lukas9950
<lukas9950@gmail.com>
Sun, 24 Feb 2013 00:44:04 +0000
(
01:44
+0100)
committer
lukas9950
<lukas9950@gmail.com>
Sun, 24 Feb 2013 00:44:04 +0000
(
01:44
+0100)
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index 887b95aaa3c4e8ffb8b40ed44f42d253894bf04a..0ebed1b8d33504c411a1c85bb506e934fe751337 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-2382,7
+2382,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;
@@
-2690,7
+2690,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;
@@
-5409,7
+5409,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;