updates.
[silc.git] / lib / silcclient / client_notify.c
index 360da04a75c4a6725f3b0c7f944736ac592ff3e8..c42dca1c422753c7c1558e0b4c5cc88da18a617b 100644 (file)
@@ -21,7 +21,8 @@
    important packets sent by the server. They tell different things to the
    client such as nick changes, mode changes etc. */
 
-#include "clientlibincludes.h"
+#include "silcincludes.h"
+#include "silcclient.h"
 #include "client_internal.h"
 
 typedef struct {
@@ -645,7 +646,7 @@ void silc_client_notify_by_server(SilcClient client,
       break;
 
     /* Save the mode */
-    chu = silc_client_on_channel(channel, client_entry);
+    chu = silc_client_on_channel(channel, client_entry2);
     if (chu)
       chu->mode = mode;