aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_chghost.cpp
diff options
context:
space:
mode:
authorGravatar w00t2009-04-16 15:51:05 +0000
committerGravatar w00t2009-04-16 15:51:05 +0000
commit929cd28544c59d122a8d36b2b5e3a394aa03108b (patch)
tree0cde4c4c2d9b3bd8fea2f159df5eb5725034541a /src/modules/m_chghost.cpp
parentCorrectly announce dnsbl hits, fixes bug #833 reported by Milliways. (diff)
downloadinspircd++-929cd28544c59d122a8d36b2b5e3a394aa03108b.tar.gz
inspircd++-929cd28544c59d122a8d36b2b5e3a394aa03108b.tar.bz2
inspircd++-929cd28544c59d122a8d36b2b5e3a394aa03108b.zip
Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A' for remote announcements.
Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r--src/modules/m_chghost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 3f366d0d2..ccc306a11 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -65,7 +65,7 @@ class CommandChghost : public Command
if ((dest->ChangeDisplayedHost(parameters[1].c_str())) && (!ServerInstance->ULine(user->server)))
{
// fix by brain - ulines set hosts silently
- ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" used CHGHOST to make the displayed host of "+dest->nick+" become "+dest->dhost);
+ ServerInstance->SNO->WriteToSnoMask('a', std::string(user->nick)+" used CHGHOST to make the displayed host of "+dest->nick+" become "+dest->dhost);
}
/* ChangeDisplayedHost fixes it for us */