BanItem b;
public:
ModeChannelBan(InspIRCd* Instance);
- ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, 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 ¶meter);
- void RemoveMode(userrec* user);
- void RemoveMode(chanrec* channel);
+ 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);
+ ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter);
+ void RemoveMode(User* user);
+ void RemoveMode(Channel* channel);
};