diff options
| author | 2012-09-30 01:26:06 +0200 | |
|---|---|---|
| committer | 2012-09-30 03:04:08 +0200 | |
| commit | 6abc0b8ca76a3a910d11264fc4dcc8b689574cad (patch) | |
| tree | c2e861342c4f6c4a6ac5958e3830cb7873813b30 /include | |
| parent | Fix more undefined behavior caused by referencing the returned buffer by std:... (diff) | |
| download | inspircd++-6abc0b8ca76a3a910d11264fc4dcc8b689574cad.tar.gz inspircd++-6abc0b8ca76a3a910d11264fc4dcc8b689574cad.tar.bz2 inspircd++-6abc0b8ca76a3a910d11264fc4dcc8b689574cad.zip | |
Make ConfigReader::GetSID() return a const reference to a string instead of a string
Diffstat (limited to 'include')
| -rw-r--r-- | include/configreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h index 910b6cabf..da530b6d9 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -545,7 +545,7 @@ class CoreExport ServerConfig /** Get server ID as string with required leading zeroes */ - std::string GetSID(); + const std::string& GetSID(); /** Update the 005 vector */ |
