summaryrefslogtreecommitdiff
path: root/src/core/cs_forbid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_forbid.c')
-rw-r--r--src/core/cs_forbid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_forbid.c b/src/core/cs_forbid.c
index 64a707c8f..ecaae1df5 100644
--- a/src/core/cs_forbid.c
+++ b/src/core/cs_forbid.c
@@ -79,7 +79,7 @@ class CommandCSForbid : public Command
if (is_oper(uc->user))
continue;
- c->Kick(findbot(Config.s_ChanServ), uc->user, "%s", reason ? reason : getstring(uc->user->nc, CHAN_FORBID_REASON));
+ c->Kick(findbot(Config.s_ChanServ), uc->user, "%s", reason ? reason : getstring(uc->user->Account(), CHAN_FORBID_REASON));
}
}