summaryrefslogtreecommitdiff
path: root/src/fe-none
diff options
context:
space:
mode:
authorJochen Eisinger <c0ffee@irssi.org>2006-03-26 08:42:34 +0000
committerc0ffee <c0ffee@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-03-26 08:42:34 +0000
commit4de9baf8f1a4135128f3d40af7201e974107ac2f (patch)
tree6d7121baf9e2e370c353ec648e28c89a81fae0ff /src/fe-none
parent47704b800d63248a339637d2625d628aa32f3191 (diff)
downloadirssi-4de9baf8f1a4135128f3d40af7201e974107ac2f.zip
Removed all srand calls and added a single srand invokation in at startup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4264 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-none')
-rw-r--r--src/fe-none/irssi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-none/irssi.c b/src/fe-none/irssi.c
index eee24365..78442360 100644
--- a/src/fe-none/irssi.c
+++ b/src/fe-none/irssi.c
@@ -55,6 +55,8 @@ void noui_init(void)
{ NULL, '\0', 0, NULL }
};
+ srand(time(NULL));
+
autoload_module = NULL;
args_register(options);