summaryrefslogtreecommitdiff
path: root/modules/core/cs_unban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_unban.cpp')
-rw-r--r--modules/core/cs_unban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_unban.cpp b/modules/core/cs_unban.cpp
index f9b5908e0..df5d2877e 100644
--- a/modules/core/cs_unban.cpp
+++ b/modules/core/cs_unban.cpp
@@ -48,7 +48,7 @@ class CommandCSUnban : public Command
return MOD_CONT;
}
- common_unban(ci, u2->nick);
+ common_unban(ci, u2);
if (u2 == u)
source.Reply(CHAN_UNBANNED, c->name.c_str());
else