diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-02 04:55:43 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-02 04:55:43 +0000 |
| commit | 3617d7978899f830d952d9bac70ed14bb0cc0fd6 (patch) | |
| tree | fa5fe5d8f8f3bd87f649e2467f60e1d87ba2a71c /include/services.h | |
| parent | 657e1deb590eaba38ea3e9a9fb353dc0e23c1a41 (diff) | |
Convert 'const char *' and 'char *' function arguments to 'const std::string &' instead, done in actions.c along with chain reactions in other files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/services.h')
| -rw-r--r-- | include/services.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h index 2354261cb..5c2a426ed 100644 --- a/include/services.h +++ b/include/services.h @@ -1258,7 +1258,7 @@ class CoreExport IRCDProto virtual void SendInvite(BotInfo *bi, const char *chan, const char *nick); virtual void SendPart(BotInfo *bi, Channel *chan, const char *fmt, ...); virtual void SendGlobops(BotInfo *source, const char *fmt, ...); - virtual void SendSQLine(const char *, const char *) = 0; + virtual void SendSQLine(const std::string &, const std::string &) = 0; virtual void SendSquit(const char *servname, const char *message); virtual void SendSVSO(const char *, const char *, const char *) { } virtual void SendChangeBotNick(BotInfo *bi, const char *newnick); @@ -1271,7 +1271,7 @@ class CoreExport IRCDProto virtual void SendSZLineDel(SXLine *) { } virtual void SendSZLine(SXLine *) { } virtual void SendSGLine(SXLine *) { } - virtual void SendBanDel(Channel *, const char *) { } + virtual void SendBanDel(Channel *, const std::string &) { } virtual void SendSVSModeChan(Channel *, const char *, const char *) { } virtual void SendUnregisteredNick(User *) { } virtual void SendCTCP(BotInfo *bi, const char *dest, const char *fmt, ...); |
