summaryrefslogtreecommitdiff
path: root/include/modes/cmode_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_b.h')
-rw-r--r--include/modes/cmode_b.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h
index 417480777..c7d349541 100644
--- a/include/modes/cmode_b.h
+++ b/include/modes/cmode_b.h
@@ -24,13 +24,13 @@ class ModeChannelBan : public ModeHandler
BanItem b;
public:
ModeChannelBan(InspIRCd* Instance);
- ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
- std::string& AddBan(userrec *user,std::string& dest,chanrec *chan,int status);
- std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status);
- void DisplayList(userrec* user, chanrec* channel);
- void DisplayEmptyList(userrec* user, chanrec* channel);
- ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
- void RemoveMode(userrec* user);
- void RemoveMode(chanrec* channel);
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, 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);
+ ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
+ void RemoveMode(User* user);
+ void RemoveMode(Channel* channel);
};