From 2da6369ab26d3a39941e4ece95600f82ffcc5611 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 2 Aug 2009 15:05:06 +0000 Subject: Fix a missed reference git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nickflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index fcc84a414..97055c225 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -258,7 +258,7 @@ class ModuleNickFlood : public Module /* * XXX: HACK: We do the increment on the *POST* event here (instead of all together) because we have no way of knowing whether other modules would block a nickchange. */ - virtual void OnUserPostNick(User* user, const std::string oldnick) + virtual void OnUserPostNick(User* user, const std::string &oldnick) { if (isdigit(user->nick[0])) /* allow switches to UID */ return; -- cgit v1.2.3