diff options
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 2ee99f1af..3b3396f5c 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1719,9 +1719,9 @@ InspIRCd* ServerConfig::GetInstance() std::string ServerConfig::GetSID() { std::string OurSID; - OurSID += (char)((Instance->Config->sid / 100) + 48); - OurSID += (char)((Instance->Config->sid / 10) % 10 + 48); - OurSID += (char)(Instance->Config->sid % 10 + 48); + OurSID += (char)((sid / 100) + 48); + OurSID += (char)((sid / 10) % 10 + 48); + OurSID += (char)(sid % 10 + 48); return OurSID; } |