diff options
| author | 2017-11-25 12:50:11 +0000 | |
|---|---|---|
| committer | 2017-11-25 13:38:02 +0000 | |
| commit | 6abc789577a86ffcdce8fae81b37f825d9ca4226 (patch) | |
| tree | 6c485e33261a0e4dfab8005e2f93b3063a7b98b5 /src/helperfuncs.cpp | |
| parent | Convert IsChannel to std::function. (diff) | |
| download | inspircd++-6abc789577a86ffcdce8fae81b37f825d9ca4226.tar.gz inspircd++-6abc789577a86ffcdce8fae81b37f825d9ca4226.tar.bz2 inspircd++-6abc789577a86ffcdce8fae81b37f825d9ca4226.zip | |
Convert GenRandom to std::function.
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index a24401542..b80a3897c 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -415,7 +415,7 @@ unsigned long InspIRCd::GenRandomInt(unsigned long max) } // This is overridden by a higher-quality algorithm when SSL support is loaded -void GenRandomHandler::Call(char *output, size_t max) +void InspIRCd::DefaultGenRandom(char* output, size_t max) { for(unsigned int i=0; i < max; i++) #ifdef _WIN32 |
