summaryrefslogtreecommitdiff
path: root/include/snomasks.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 21:17:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 21:17:56 +0000
commitbe8af5c15682b832f9908ed40f08f172d65962de (patch)
tree922b0dacb5e894aaf12db8aa33f2e0fc3fee4ed1 /include/snomasks.h
parent4a26ba48eba312cf57705dc4c46d48e2647414f8 (diff)
The count=0 in the body Isnt needed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9044 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/snomasks.h')
-rw-r--r--include/snomasks.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/snomasks.h b/include/snomasks.h
index 6b9e0f24e..f785af291 100644
--- a/include/snomasks.h
+++ b/include/snomasks.h
@@ -27,12 +27,8 @@ class Snomask
/** Create a new Snomask
*/
- Snomask(InspIRCd* Instance, char snomask, const std::string &description)
+ Snomask(InspIRCd* Instance, char snomask, const std::string &description) : MySnomask(snomask), Description(description), LastMessage(""), Count(0)
{
- ServerInstance = Instance;
- MySnomask = snomask;
- Description = description;
- Count = 0;
}
/** Sends a message to all opers with this snomask.