summaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 86dc9ea00..b055c83ee 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -22,7 +22,7 @@ class BotMode : public ModeHandler
public:
BotMode(InspIRCd* Instance) : ModeHandler(Instance, 'B', 0, 0, false, MODETYPE_USER, false) { }
- ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding)
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
{
if (adding)
{
@@ -75,7 +75,7 @@ class ModuleBotMode : public Module
return Version(1,1,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
}
- virtual void OnWhois(userrec* src, userrec* dst)
+ virtual void OnWhois(User* src, User* dst)
{
if (dst->IsModeSet('B'))
{