diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:49:24 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:49:24 +0000 |
commit | 3d8ec5dbd9cfde34fcbc63ad7b9b1369866f0a33 (patch) | |
tree | a27087e7a9bfab5c9ed54a0bb5b8260b6bed0868 /include/modes/cmode_b.h | |
parent | 347dcb9ef44e19e2e2613ee7e8c7d5fbb0aca4ca (diff) |
Remove "servermode" parameter, replace with IS_FAKE() which is more reliable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes/cmode_b.h')
-rw-r--r-- | include/modes/cmode_b.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h index db4a13508..3e4683840 100644 --- a/include/modes/cmode_b.h +++ b/include/modes/cmode_b.h @@ -24,8 +24,8 @@ class ModeChannelBan : public ModeHandler BanItem b; public: ModeChannelBan(InspIRCd* Instance); - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); - std::string& AddBan(User *user,std::string& dest,Channel *chan,int status, bool servermode); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); + std::string& AddBan(User *user,std::string& dest,Channel *chan,int status); std::string& DelBan(User *user,std::string& dest,Channel *chan,int status); void DisplayList(User* user, Channel* channel); void DisplayEmptyList(User* user, Channel* channel); |