summaryrefslogtreecommitdiff
path: root/include/u_listmode.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-06 13:25:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-06 13:25:58 +0000
commit7410e81e80513d09c1116de4d4536258bb25d914 (patch)
treedbfee72c337e66f40f41a7c931ccbc35523571aa /include/u_listmode.h
parent4fa581ea125ebbfd46571171a96abb988a9ea0c3 (diff)
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
Diffstat (limited to 'include/u_listmode.h')
-rw-r--r--include/u_listmode.h2
1 files changed, 1 insertions, 1 deletions
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)
{
}