summaryrefslogtreecommitdiff
path: root/src/irc/core/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/query.c')
-rw-r--r--src/irc/core/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/query.c b/src/irc/core/query.c
index 68ec1a73..89a2f9f7 100644
--- a/src/irc/core/query.c
+++ b/src/irc/core/query.c
@@ -113,7 +113,7 @@ static void event_privmsg(const char *data, IRC_SERVER_REC *server, const char *
params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &target, &msg);
- if (addr != NULL && *msg != 1 && !ischannel(*target)) {
+ if (addr != NULL && !ischannel(*target)) {
/* save nick's address to query */
query = query_find(server, nick);
if (query != NULL && (query->address == NULL || strcmp(query->address, addr) != 0)) {