summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-12 22:54:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-12 22:54:48 +0000
commit108dca35eafaa3ea4aad9ec21cbb723d7b3de587 (patch)
tree949893ae92d939b59404008669da779efc7c2f18 /src
parente08438e1191ee377f9d7ea70370ff7ed38450158 (diff)
Unitialized data bites the big one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1063 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_park.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp
index 56dcd3911..f7d54e730 100644
--- a/src/modules/m_park.cpp
+++ b/src/modules/m_park.cpp
@@ -65,7 +65,7 @@ void handle_park(char **parameters, int pcnt, userrec *user)
}
else
{
- awaylog* aw;
+ awaylog* aw = new awaylog;
parkedinfo pi;
char msg[MAXBUF];
long key = abs(random() * 12345);