From 903dbea2b1c4072fcd4538bf67feaf1cf968bac9 Mon Sep 17 00:00:00 2001 From: om Date: Sat, 1 Jul 2006 14:40:53 +0000 Subject: Change WriteChannelWithServ and it's _NoFormat to take a const char* servername rather than char* - although it doesn't seem to be used :< Lose some more casts in m_spanningtree, unneeded because of above changes Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this Make do_whois take a const char* rather chan char* nick, lose yet more casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4095 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/xline.h') 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); -- cgit v1.2.3