From 7410e81e80513d09c1116de4d4536258bb25d914 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 6 Sep 2008 13:25:58 +0000 Subject: Make sure user is null when a literal is passed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10411 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/u_listmode.h b/include/u_listmode.h index b81cfbb84..981664436 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -79,7 +79,7 @@ class ListModeRequest : public Request * @param literalstr String to check against, e.g. "Bob!Bobbertson@weeblshouse" * @param extbanchar Extended ban character to use for the match, or a null char if not using extban */ - ListModeRequest(Module* sender, Module* target, std::string literalstr, char extbanchar, Channel* channel) : Request(sender, target, "LM_CHECKLIST_EX"), literal(literalstr), extban(extbanchar), chan(channel) + ListModeRequest(Module* sender, Module* target, std::string literalstr, char extbanchar, Channel* channel) : Request(sender, target, "LM_CHECKLIST_EX"), user(NULL), literal(literalstr), extban(extbanchar), chan(channel) { } -- cgit v1.2.3