mirror of
https://github.com/anope/anope.git
synced 2026-06-26 01:46:39 +02:00
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ IgnoreData *get_ignore(const Anope::string &nick)
|
||||
if (u)
|
||||
{
|
||||
/* Opers are not ignored, even if a matching entry may be present. */
|
||||
if (is_oper(u))
|
||||
if (u->HasMode(UMODE_OPER))
|
||||
return NULL;
|
||||
for (; ign != ign_end; ++ign)
|
||||
if (match_usermask((*ign)->mask, u))
|
||||
|
||||
Reference in New Issue
Block a user