mirror of
https://github.com/anope/anope.git
synced 2026-07-09 08:23:13 +02:00
BUILD : 1.7.19 (1275) BUGS : 747 NOTES : CS SET XOP can not be used if cs_xop is not loaded.
git-svn-id: svn://svn.anope.org/anope/trunk@1275 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@993 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
1576ab143b
commit
409671f5d0
+5
-1
@@ -264,7 +264,11 @@ int do_set(User * u)
|
||||
} else if (stricmp(cmd, "OPNOTICE") == 0) {
|
||||
do_set_opnotice(u, ci, param);
|
||||
} else if (stricmp(cmd, "XOP") == 0) {
|
||||
do_set_xop(u, ci, param);
|
||||
if (!(findModule("cs_xop"))) {
|
||||
notice_lang(s_ChanServ, u, CHAN_XOP_NOT_AVAILABLE, cmd);
|
||||
} else {
|
||||
do_set_xop(u, ci, param);
|
||||
}
|
||||
} else if (stricmp(cmd, "PEACE") == 0) {
|
||||
do_set_peace(u, ci, param);
|
||||
} else if (stricmp(cmd, "NOEXPIRE") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user