summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin/src/utils.cpp')
-rw-r--r--plugins/SeenPlugin/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp
index d1cf8d8a17..302dfa1dbd 100644
--- a/plugins/SeenPlugin/src/utils.cpp
+++ b/plugins/SeenPlugin/src/utils.cpp
@@ -32,7 +32,7 @@ void LoadWatchedProtos()
if (szProtos == NULL)
return;
- for (char *p = strtok(szProtos, " "); p != NULL; p = strtok(NULL, " "))
+ for (char *p = strtok(szProtos, "\n"); p != NULL; p = strtok(NULL, "\n"))
arWatchedProtos.insert(mir_strdup(p));
}