Skip to content

Commit

Permalink
Merge pull request #47 from blank4/unreal40
Browse files Browse the repository at this point in the history
Use #include "unrealircd.h" in more files (#4516)
  • Loading branch information
syzop committed Feb 29, 2016
2 parents 9b84f05 + a225a93 commit 8c53075
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 381 deletions.
23 changes: 1 addition & 22 deletions src/modules/chanmodes/censor.c
Expand Up @@ -3,28 +3,7 @@
* (C) Copyright 2005-current Bram Matthys and The UnrealIRCd team.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#include "badwords.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(censor)
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/floodprot.c
Expand Up @@ -3,27 +3,7 @@
* (C) Copyright 2005-2014 Bram Matthys and The UnrealIRCd team.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(floodprot)
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/issecure.c
Expand Up @@ -24,27 +24,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

CMD_FUNC(issecure);

Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/link.c
Expand Up @@ -3,27 +3,7 @@
* (C) Copyright 1999-.. The UnrealIRCd team.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(link)
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/nocolor.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

CMD_FUNC(nocolor);

Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/noctcp.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

CMD_FUNC(noctcp);

Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/noinvite.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

CMD_FUNC(noinvite);

Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/nokick.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(nokick)
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/noknock.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

ModuleHeader MOD_HEADER(noknock)
= {
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/nonickchange.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(nonickchange)
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/nonotice.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

ModuleHeader MOD_HEADER(nonotice)
= {
Expand Down
24 changes: 2 additions & 22 deletions src/modules/chanmodes/operonly.c
Expand Up @@ -17,35 +17,15 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"

CMD_FUNC(operonly);

ModuleHeader MOD_HEADER(operonly)
= {
"chanmodes/operonly",
"4.0",
"Channel Mode +V",
"Channel Mode +O",
"3.2-b8-1",
NULL
};
Expand Down
22 changes: 1 addition & 21 deletions src/modules/chanmodes/regonly.c
Expand Up @@ -17,27 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "proto.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
#include "unrealircd.h"


ModuleHeader MOD_HEADER(regonly)
Expand Down

0 comments on commit 8c53075

Please sign in to comment.