summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-19 08:40:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-19 08:40:15 +0000
commit52a4fbdec80fd6646f125e26b5319b8dc7fe9a2d (patch)
tree14a0b0613f7497b167e64edb07d5bf3c85e8ae15 /protocols/IRCG/src/stdafx.h
parentdaf624b5103faf66238b255e6cff871d0d59715b (diff)
IRC - code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@17313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/stdafx.h')
-rw-r--r--protocols/IRCG/src/stdafx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IRCG/src/stdafx.h b/protocols/IRCG/src/stdafx.h
index e28616db4e..5d48ed407f 100644
--- a/protocols/IRCG/src/stdafx.h
+++ b/protocols/IRCG/src/stdafx.h
@@ -163,9 +163,9 @@ struct PERFORM_INFO // Contains 'm_perform buffer' for different networks
struct CONTACT // Contains info about users
{
- wchar_t* name;
- wchar_t* user;
- wchar_t* host;
+ const wchar_t *name;
+ const wchar_t *user;
+ const wchar_t *host;
bool ExactOnly;
bool ExactWCOnly;
bool ExactNick;
@@ -373,7 +373,7 @@ struct CIrcProto : public PROTO<CIrcProto>
// commandmonitor.cpp
UINT_PTR IdentTimer, InitTimer, KeepAliveTimer, OnlineNotifTimer, OnlineNotifTimer3;
- int AddOutgoingMessageToDB(MCONTACT hContact, wchar_t *msg);
+ int AddOutgoingMessageToDB(MCONTACT hContact, const wchar_t *msg);
bool DoOnConnect(const CIrcMessage *pmsg);
int DoPerform(const char *event);
void __cdecl ResolveIPThread(void *di);