diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd_io.h | 3 | ||||
-rw-r--r-- | include/modules.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h index 3460597d3..748aa53ba 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -17,8 +17,7 @@ void Exit (int); void Start (void); int DaemonSeed (void); -int CheckModule (char* module); -int CheckConfig (void); +int FileExists (char* file); int OpenTCPSocket (void); int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr); diff --git a/include/modules.h b/include/modules.h index a32319865..d9d04e762 100644 --- a/include/modules.h +++ b/include/modules.h @@ -354,6 +354,7 @@ class FileReader : public classbase * This method retrieves one line from the text file. If an empty non-NULL string is returned, * the index was out of bounds, or the line had no data on it. */ + bool Exists(); std::string GetLine(int x); /** Returns the size of the file in lines. * This method returns the number of lines in the read file. If it is 0, no lines have been |