comparison src/server.c @ 2001:9187e83c8b03

[gaim-migrate @ 2011] That'll teach me to fix something. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Tue, 12 Jun 2001 08:12:41 +0000
parents ae11844fa2b1
children eee309c0de93
comparison
equal deleted inserted replaced
2000:ae11844fa2b1 2001:9187e83c8b03
176 strncpy_nohtml(buf, message, strlen(message)+1); 176 strncpy_nohtml(buf, message, strlen(message)+1);
177 } 177 }
178 178
179 (*gc->prpl->set_away)(gc, state, buf); 179 (*gc->prpl->set_away)(gc, state, buf);
180 180
181 if (message) 181 plugin_event(event_away, gc, state, buf, 0);
182 plugin_event(event_away, gc, state, buf, 0);
183 else
184 plugin_event(event_back, gc, state, buf, 0);
185 182
186 if(buf) 183 if(buf)
187 g_free(buf); 184 g_free(buf);
188 } 185 }
189 186