Skip to content
Snippets Groups Projects
Commit 8635d798 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

A little constification.

parent fc34453e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -57,7 +57,7 @@ extern "C" BOOL hacklog(scfg_t* cfg, const char* prot, const char* user, const c
return true;
}
BOOL sbbs_t::hacklog(char* prot, char* text)
BOOL sbbs_t::hacklog(const char* prot, const char* text)
{
return ::hacklog(&cfg, prot, useron.alias, text, client_name, &client_addr);
}
......
......@@ -1040,7 +1040,7 @@ public:
bool removefile(smb_t*, file_t*);
bool movefile(smb_t*, file_t*, int newdir);
char * getfilespec(char *str);
bool checkfname(char *fname);
bool checkfname(const char *fname);
bool addtobatdl(file_t*);
bool clearbatdl(void);
bool clearbatul(void);
......@@ -1099,7 +1099,7 @@ public:
bool errormsg_inside;
void errormsg(int line, const char* function, const char *source, const char* action, const char *object
,long access=0, const char *extinfo=NULL);
BOOL hacklog(char* prot, char* text);
BOOL hacklog(const char* prot, const char* text);
/* qwk.cpp */
ulong qwkmail_last;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment