diff options
| author | 2006-07-01 14:40:53 +0000 | |
|---|---|---|
| committer | 2006-07-01 14:40:53 +0000 | |
| commit | 903dbea2b1c4072fcd4538bf67feaf1cf968bac9 (patch) | |
| tree | a15a535ccb5b5a05f03d58c439f893c96e81b685 /src/cmd_whois.cpp | |
| parent | Replace rather craq'y loop with a couple of std::string calls (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 'src/cmd_whois.cpp')
| -rw-r--r-- | src/cmd_whois.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_whois.cpp b/src/cmd_whois.cpp index 4ef1e0373..4caf0b783 100644 --- a/src/cmd_whois.cpp +++ b/src/cmd_whois.cpp @@ -30,7 +30,7 @@ extern ModuleList modules; extern FactoryList factory; extern time_t TIME; -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) { // bug found by phidjit - were able to whois an incomplete connection if it had sent a NICK or USER if (dest->registered == 7) |
