fixed crash in cmd_set for NeonSpam
[NeonServV5.git] / src / cmd_neonspam_set.c
index 139e1efce812bda540f9d2f60c1951ec7290e4fd..efaee45660ee9b241c9dbea40c8aaf8e8b179fe2 100644 (file)
@@ -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);