summaryrefslogtreecommitdiff
path: root/src/modules/cs_tban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_tban.cpp')
-rw-r--r--src/modules/cs_tban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_tban.cpp b/src/modules/cs_tban.cpp
index 710840d52..483f5f2d6 100644
--- a/src/modules/cs_tban.cpp
+++ b/src/modules/cs_tban.cpp
@@ -181,7 +181,7 @@ class TempBan : public CallBack
{
Channel *c;
- if ((c = findchan(chan.c_str())) && c->ci)
+ if ((c = findchan(chan)) && c->ci)
{
c->RemoveMode(NULL, CMODE_BAN, mask);
}