diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-01 14:40:53 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-01 14:40:53 +0000 |
commit | 903dbea2b1c4072fcd4538bf67feaf1cf968bac9 (patch) | |
tree | a15a535ccb5b5a05f03d58c439f893c96e81b685 /include/xline.h | |
parent | 3cf1ae04704b4f1706daa1077b90fd14d1e72cef (diff) |
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
Diffstat (limited to 'include/xline.h')
-rw-r--r-- | include/xline.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |