aboutsummaryrefslogtreecommitdiff
path: root/src/Command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command.cpp')
-rw-r--r--src/Command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command.cpp b/src/Command.cpp
index a074930..a28cd42 100644
--- a/src/Command.cpp
+++ b/src/Command.cpp
@@ -5,7 +5,7 @@ using namespace std;
namespace dchat
{
- unordered_map<string, CommandHandlerFunc> commandHandlerFuncs;
+ static unordered_map<string, CommandHandlerFunc> commandHandlerFuncs;
bool Command::add(const string &cmd, CommandHandlerFunc handlerFunc)
{