diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-26 16:40:58 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-26 16:40:58 +0000 |
commit | ee913368d7162dbe0dd119091f8b468eb7be0f1a (patch) | |
tree | 16dadfee22e800beaa1d08668ed232700e2e9d2b /src/modules/m_operprefix.cpp | |
parent | 553b17b542831cfe8063209f46326057f50a6fbd (diff) |
Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to clarify their use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r-- | src/modules/m_operprefix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp index 10dcdb37d..223768dac 100644 --- a/src/modules/m_operprefix.cpp +++ b/src/modules/m_operprefix.cpp @@ -39,7 +39,7 @@ class OperPrefixMode : public ModeHandler ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { - if (IS_FAKE(source) || (source && ServerInstance->ULine(source->server))) + if (IS_SERVER(source) || (source && ServerInstance->ULine(source->server))) return MODEACTION_ALLOW; else { @@ -110,7 +110,7 @@ class ModuleOperPrefixMode : public Module ModResult OnRawMode(User* user, Channel* chan, const char mode, const std::string ¶m, bool adding, int pcnt) { /* force event propagation to its ModeHandler */ - if (!IS_FAKE(user) && chan && (mode == 'y')) + if (!IS_SERVER(user) && chan && (mode == 'y')) return MOD_RES_ALLOW; return MOD_RES_PASSTHRU; } |