mirror of
https://github.com/anope/anope.git
synced 2026-06-29 02:26:38 +02:00
Fix ChannelMode::CanSet
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ bool ChannelMode::CanSet(User *u) const
|
||||
{
|
||||
EventReturn MOD_RESULT;
|
||||
FOREACH_RESULT(I_OnCanSet, OnCanSet(u, this));
|
||||
return MOD_RESULT == EVENT_ALLOW;
|
||||
return MOD_RESULT != EVENT_STOP;
|
||||
}
|
||||
|
||||
ChannelModeList::ChannelModeList(const Anope::string &cm, char mch) : ChannelMode(cm, mch)
|
||||
|
||||
Reference in New Issue
Block a user