diff options
| author | 2013-04-09 19:12:09 +0200 | |
|---|---|---|
| committer | 2013-04-10 17:28:08 +0200 | |
| commit | ca0083cba90c8830f5018b73eb715665a8db9dd7 (patch) | |
| tree | 20d335e4d7c2f886fbce00d494eead769d22c543 /src/modules/m_restrictmsg.cpp | |
| parent | Update Window's .gitignore (diff) | |
Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
| -rw-r--r-- | src/modules/m_restrictmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp index 33a7fb18a..c4eba1b2e 100644 --- a/src/modules/m_restrictmsg.cpp +++ b/src/modules/m_restrictmsg.cpp @@ -46,7 +46,7 @@ class ModuleRestrictMsg : public Module // (1) the sender is opered // (2) the recipient is opered // anything else, blocked. - if (IS_OPER(u) || IS_OPER(user)) + if (u->IsOper() || user->IsOper()) { return MOD_RES_PASSTHRU; } |
