diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:01:43 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:01:43 +0000 |
commit | 12cc6334576c61933383783e94a7b12c818b080b (patch) | |
tree | 059330c2f1660eb2b93e8d1ad7ec2a6016942336 /src/nickalias.cpp | |
parent | bcb857f11848ec408c6385780bd1267401d6a54e (diff) |
Add nickalias to build. Also stop sstrdup on args that seem to be NULL, it's getting ripped out anyway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2109 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r-- | src/nickalias.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp new file mode 100644 index 000000000..2d8817e0c --- /dev/null +++ b/src/nickalias.cpp @@ -0,0 +1,11 @@ +#include "services.h"
+
+NickAlias::NickAlias()
+{
+ next = prev = NULL;
+ nick = last_quit = last_realname = last_usermask = NULL;
+ time_registered = last_seen = 0;
+ status = 0;
+ nc = NULL;
+}
+
|