diff options
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modes.cpp b/src/modes.cpp index b0fbf9cca..57d8806e1 100644 --- a/src/modes.cpp +++ b/src/modes.cpp @@ -835,8 +835,7 @@ bool Entry::Matches(User *u, bool full) const if (cm != NULL && cm->type == MODE_LIST) { ChannelModeList *cml = anope_dynamic_static_cast<ChannelModeList *>(cm); - if (cml->Matches(u, this)) - return true; + return cml->Matches(u, this); } } |