diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-12 19:28:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-12 19:28:57 +0000 |
commit | 6b99d038e5373c10af85c7f307963ea6bc2e2067 (patch) | |
tree | e346cb7805c6050e537cadfbbcbb4cbba0018705 /src/modules | |
parent | bb848f8fd2eedaddd22420fbaf37249d4a9ac27b (diff) |
Dont use send_mode_explicit protocol call, use send_mode, which doesnt try and force the mode through via non-FMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6788 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_samode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index a5630751b..ddce91d51 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -51,7 +51,7 @@ class cmd_samode : public command_t while ((one = spaced.GetToken()) != "") n.push_back(one); - Event rmode((char *)&n, NULL, "send_mode_explicit"); + Event rmode((char *)&n, NULL, "send_mode"); rmode.Send(ServerInstance); n.clear(); @@ -61,9 +61,9 @@ class cmd_samode : public command_t /* XXX: Yes, this is right. We dont want to propogate the * actual SAMODE command, just the MODE command generated - * by the send_mode_explicit + * by the send_mode */ - return CMD_FAILURE; + return CMD_LOCALONLY; } else { |