<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -148,7 +148,7 @@ class OnCommand(BaseCommand):
     def __call__(self, user, prot, args):
         user.active=True
         def worked(stuff):
-            scheduling.enable_user(user.jid)
+            scheduling.available_user(JID(user.jid))
             prot.send_plain(user.jid, &quot;Enabled tracks.&quot;)
         def notWorked(e):
             log.err(e)
@@ -162,7 +162,7 @@ class OffCommand(BaseCommand):
     def __call__(self, user, prot, args):
         user.active=False
         def worked(stuff):
-            scheduling.enable_user(user.jid)
+            scheduling.disable_user(user.jid)
             prot.send_plain(user.jid, &quot;Disabled tracks.&quot;)
         def notWorked(e):
             log.err(e)</diff>
      <filename>lib/twitterspy/xmpp_commands.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4eaeb6f58e14739dd82ebd0619d217a185b15296</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </author>
  <url>http://github.com/dustin/twitterspy/commit/336d1060ea01fcbad9ad8f7e7aa0389bf8232e17</url>
  <id>336d1060ea01fcbad9ad8f7e7aa0389bf8232e17</id>
  <committed-date>2009-06-25T11:53:14-07:00</committed-date>
  <authored-date>2009-06-25T11:53:14-07:00</authored-date>
  <message>On/off fixes.</message>
  <tree>fd00be8a22d952bf706c715fd6bcf4f2cf04a56c</tree>
  <committer>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </committer>
</commit>
