diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f695db7c4..5d6ac2ce7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1816,7 +1816,8 @@ bool userrec::ChangeDisplayedHost(const char* host) if (this->ServerInstance->Config->CycleHosts) this->WriteCommonExcept("%s","QUIT :Changing hosts"); - strlcpy(this->dhost,host,63); + /* Fix by Om: userrec::dhost is 65 long, this was truncating some long hosts */ + strlcpy(this->dhost,host,64); if (this->ServerInstance->Config->CycleHosts) { @@ -2072,4 +2073,3 @@ void userrec::HandleEvent(EventType et, int errornum) ServerInstance->Log(DEBUG,"Exception in userrec::HandleEvent intercepted"); } } - |