From 74e081f98e81097c94a6eede15c1f2b7a0d6c0e4 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 12 Nov 2006 16:03:21 +0000 Subject: Make OPERNOTICE work right git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_samode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_samode.cpp') diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 6e776e7c0..97b84efd6 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -75,7 +75,7 @@ class cmd_samode : public command_t n.clear(); n.push_back(std::string(user->nick) + " used SAMODE: " + ServerInstance->Modes->GetLastParse()); Event rmode2((char *)&n, NULL, "send_opers"); - rmode.Send(ServerInstance); + rmode2.Send(ServerInstance); /* XXX: Yes, this is right. We dont want to propogate the * actual SAMODE command, just the MODE command generated -- cgit v1.3.1-10-gc9f91