diff options
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index b586871ea..fcc1c732d 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -125,7 +125,7 @@ chanrec::chanrec() void chanrec::SetCustomMode(char mode,bool mode_on) { if (mode_on) { - char m[3]; + static char m[3]; m[0] = mode; m[1] = '\0'; if (!strchr(this->custom_modes,mode)) |