mirror of
https://github.com/znc/znc.git
synced 2026-07-30 21:43:49 +02:00
Catch as references
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
try {
|
||||
pZNC->Loop();
|
||||
} catch (CException e) {
|
||||
} catch (const CException& e) {
|
||||
switch (e.GetType()) {
|
||||
case CException::EX_Shutdown:
|
||||
iRet = 0;
|
||||
|
||||
Reference in New Issue
Block a user