diff --git a/gajim/common/client.py b/gajim/common/client.py
index ef35817b070c9b54e00b8f5b035cde97dec0699d..0d8449b9b5697fd651d5006bbd68002e9955b035 100644
--- a/gajim/common/client.py
+++ b/gajim/common/client.py
@@ -532,10 +532,10 @@ def _disable_reconnect_timer(self):
     def cleanup(self):
         self._destroyed = True
         if self._client is not None:
-            # cleanup() is called befor nbmxpp.Client has disconnected,
+            # cleanup() is called before nbmxpp.Client has disconnected,
             # when we disable the account. So we need to unregister
             # handlers here.
-            # TODO: cleanup() should not be called befor disconnect is finished
+            # TODO: cleanup() should not be called before disconnect is finished
             for handler in modules.get_handlers(self):
                 self._client.unregister_handler(handler)
         modules.unregister_modules(self)