Commit 0b0069fd authored by valtron's avatar valtron

fix: stats broke logging in on MSN < 5

parent 0378ea9a
......@@ -30,6 +30,8 @@ def _m_ver(sess, trid, *args):
sess.send_reply('VER', trid, 0, *MSNP_DIALECTS)
return
sess.state.dialect = int(d[4:])
# For older clients that don't do a CVR
sess.client = Client('msn', d, 'gw' if isinstance(sess, session.PollingSession) else 'direct')
sess.send_reply('VER', trid, d)
@_handlers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment