summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-07 00:32:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-07 00:32:19 +0000
commit4e9d92695d8078c56d13fd1fa3bda53c5ec93d4c (patch)
tree49aed835dadb73277b04bfa0b8ccf7e5939d9197 /src
parentded5711d0579e02513aff2171b570cdcd43eda97 (diff)
Typo (oops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3116 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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;