From 0f7cb413728742c3bd114bee728e047cc0753b21 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sat, 27 Sep 2003 13:14:26 +0000 Subject: changed CheckModule from (char module[MAXBUF]) to (char* module) -- Suggested by [Brain] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@189 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd_io.h | 2 +- src/inspircd_io.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/inspircd_io.h b/include/inspircd_io.h index b4955bacb..3460597d3 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -17,7 +17,7 @@ void Exit (int); void Start (void); int DaemonSeed (void); -int CheckModule (char module[MAXBUF]); +int CheckModule (char* module); int CheckConfig (void); int OpenTCPSocket (void); int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr); diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index f1e7bf66c..f1fa54b69 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -87,7 +87,7 @@ int DaemonSeed (void) /* Make Sure Modules Are Avaliable! * (BugFix By Craig.. See? I do work! :p) */ -int CheckModule (char module[MAXBUF]) +int CheckModule (char* module) { FILE *input; -- cgit v1.2.3