summaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 19:10:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 19:10:35 +0000
commitef9ab2301d8ee84dc9b68bcede435bc540d7243c (patch)
treec2efbef8f20871144bf34bca703d0dc067d0b80e /src/modules/m_denychans.cpp
parent2cc6856e8709c9a5c339ab4af1c0d0b9a01ed917 (diff)
Fix case sensitivity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8884 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r--src/modules/m_denychans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index 2605bcec2..eff6e64a4 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -74,7 +74,7 @@ class ModuleDenyChannels : public Module
if (ServerInstance->IsChannel(redirect.c_str()))
{
- user->writeserv("926 %s %s :Channel %s is forbidden, redirecting to %s: %s",user->nick,cname,cname,redirect.c_str(), reason.c_str());
+ user->WriteServ("926 %s %s :Channel %s is forbidden, redirecting to %s: %s",user->nick,cname,cname,redirect.c_str(), reason.c_str());
Channel::JoinUser(ServerInstance,user,redirect.c_str(),false,"",false,ServerInstance->Time(true));
return 1;
}