summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 7909aad38..41251918a 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -457,7 +457,7 @@ char* ModeParser::AddBan(userrec *user,char *dest,chanrec *chan,int status)
}
else
{
- strlcpy(b.set_by,Srv->GetServerName().c_str(),NICKMAX);
+ strlcpy(b.set_by,Config->ServerName,NICKMAX);
}
chan->bans.push_back(b);
return dest;