modified code to use IOHandler functions instead of own ones
[NeonServV5.git] / src / modules / NeonSpam.mod / bot_NeonSpam.c
index 16e0016a3dc57bdea26a5a1267f6a6d62b1018d4..eace7b7071f1feb6d3c5901f650966aa674c4e87 100644 (file)
@@ -1,4 +1,4 @@
-/* bot_NeonSpam.c - NeonServ v5.4
+/* bot_NeonSpam.c - NeonServ v5.5
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -160,7 +160,7 @@ static void start_bots(int type) {
             client->flags |= (strcmp(row[6], "0") ? SOCKET_FLAG_PREFERRED : 0);
             client->flags |= (strcmp(row[8], "0") ? SOCKET_FLAG_USE_QUEUE : 0);
             client->flags |= (strcmp(row[9], "0") ? SOCKET_FLAG_SSL : 0);
-            client->flags |= SOCKET_FLAG_REQUEST_INVITE;
+            client->flags |= SOCKET_FLAG_REQUEST_INVITE | SOCKET_FLAG_REQUEST_OP;
             client->botid = BOTID;
             client->clientid = atoi(row[7]);
             connect_socket(client);
@@ -401,10 +401,6 @@ void init_NeonSpam(int type) {
     register_default_language_table(msgtab);
 }
 
-void loop_NeonSpam() {
-    
-}
-
 void free_NeonSpam(int type) {
     unbind_allcmd(BOTID);
     if(type == MODSTATE_STARTSTOP) {