muhstik- irc flooding solution |
git clone git://git.acid.vegas/muhstik.git |
Log | Files | Refs | Archive | README |
mass.h (1290B)
1 /* Muhstik, Copyright (C) 2001-2002, Louis Bavoil <mulder@gmx.fr> */ 2 /* 2009-2011, Leon Kaiser <literalka@gnaa.eu> */ 3 /* */ 4 /* This program is free software; you can redistribute it and/or */ 5 /* modify it under the terms of the GNU Library General Public License */ 6 /* as published by the Free Software Foundation; either version 2 */ 7 /* of the License, or (at your option) any later version. */ 8 /* */ 9 /* This program is distributed in the hope that it will be useful, */ 10 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ 11 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 12 /* GNU Library General Public License for more details. */ 13 14 #ifndef MASS_H 15 #define MASS_H 16 17 #include "clone.h" 18 19 enum mass_actions { 20 MKB, /* Mass kickban */ 21 MK, /* Mass kick */ 22 MD, /* Mass deop */ 23 TO /* Takeover */ 24 }; 25 26 void massdeop (clone_t *clone, int chid); 27 void massop (clone_t *clone, int chid); 28 void force_massop (); 29 void *init_massdo (int chid, int mode); 30 31 #endif