summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 05ce233e6..02c925598 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -2279,7 +2279,7 @@ void handle_link_packet(char* udp_msg, char* tcp_host, serverrec *serv)
userrec* u = Find(source);
if (u)
{
- add_channel(user,data,"",true);
+ add_channel(u,data,"",true);
}
token = udp_msg[0];
}