diff options
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c index e7dc86e9a..a4c679f96 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -120,14 +120,13 @@ parse_command (struct worker_task *task, f_str_t * line) struct custom_command *cmd; GList *cur; + task->proto_ver = RSPAMC_PROTO_1_1; token = separate_command (line, ' '); if (line == NULL || token == NULL) { debug_task ("bad command: %s", token); return -1; } - task->proto_ver = RSPAMC_PROTO_1_1; - switch (token[0]) { case 'c': case 'C': |