summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_whois.h2
-rw-r--r--include/helperfuncs.h4
-rw-r--r--include/xline.h8
3 files changed, 7 insertions, 7 deletions
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index 5e62e64a3..75abc6053 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -28,7 +28,7 @@
#include "users.h"
#include "channels.h"
-void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick);
+void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, const char* nick);
class cmd_whois : public command_t
{
diff --git a/include/helperfuncs.h b/include/helperfuncs.h
index 5eb6e22d8..2fa47bffe 100644
--- a/include/helperfuncs.h
+++ b/include/helperfuncs.h
@@ -54,7 +54,7 @@ void WriteFrom(int sock, userrec *user,char* text, ...);
void WriteTo(userrec *source, userrec *dest,char *data, ...);
void WriteChannel(chanrec* Ptr, userrec* user, char* text, ...);
void WriteChannelLocal(chanrec* Ptr, userrec* user, char* text, ...);
-void WriteChannelWithServ(char* ServName, chanrec* Ptr, char* text, ...);
+void WriteChannelWithServ(const char* ServName, chanrec* Ptr, const char* text, ...);
void ChanExceptSender(chanrec* Ptr, userrec* user, char status, char* text, ...);
void WriteCommon(userrec *u, char* text, ...);
void WriteCommonExcept(userrec *u, char* text, ...);
@@ -66,7 +66,7 @@ void WriteFrom_NoFormat(int sock, userrec *user,const char* text);
void WriteTo_NoFormat(userrec *source, userrec *dest,const char *data);
void WriteChannel_NoFormat(chanrec* Ptr, userrec* user, const char* text);
void WriteChannelLocal_NoFormat(chanrec* Ptr, userrec* user, const char* text);
-void WriteChannelWithServ_NoFormat(char* ServName, chanrec* Ptr, const char* text);
+void WriteChannelWithServ_NoFormat(const char* ServName, chanrec* Ptr, const char* text);
void ChanExceptSender_NoFormat(chanrec* Ptr, userrec* user, char status, const char* text);
void WriteCommon_NoFormat(userrec *u, const char* text);
void WriteCommonExcept_NoFormat(userrec *u, const char* text);
diff --git a/include/xline.h b/include/xline.h
index a6c708f9a..15ae609d2 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -158,10 +158,10 @@ void stats_q(userrec* user);
void stats_z(userrec* user);
void stats_e(userrec* user);
-void gline_set_creation_time(char* host, time_t create_time);
-void qline_set_creation_time(char* nick, time_t create_time);
-void zline_set_creation_time(char* ip, time_t create_time);
-void eline_set_creation_time(char* host, time_t create_time);
+void gline_set_creation_time(const char* host, time_t create_time);
+void qline_set_creation_time(const char* nick, time_t create_time);
+void zline_set_creation_time(const char* ip, time_t create_time);
+void eline_set_creation_time(const char* host, time_t create_time);
bool zline_make_global(const char* ipaddr);
bool qline_make_global(const char* nickname);