added "nowho" parameter to debug userlist and fixed memory leak in DBHelper.c
[NeonServV5.git] / src / cmd_neonspam_set.c
index 00a4d1c816a1cb76ed51512d4f0d9e860c0ff579..efaee45660ee9b241c9dbea40c8aaf8e8b179fe2 100644 (file)
@@ -1,5 +1,5 @@
 /* cmd_neonspam_set.c - NeonServ v5.3
- * Copyright (C) 2011  Philipp Kreil (pk910)
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -137,6 +137,7 @@ static const struct {
 #define MAX_QUERY_LEN 1024
 CMD_BIND(neonspam_cmd_set) {
     int i, j;
+    loadNeonSpamSettings(chan);
     if(argc && !strcmp(argv[0], "defaults")) {
         //reset channel settings
         int uaccess = getChannelAccess(user, chan);