Skip to content

Commit 9c0eaf8

Browse files
Remove unnecessary else
Co-authored-by: Joshua Salzedo <thHunkn0WNd@gmail.com>
1 parent b535879 commit 9c0eaf8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydle/features/ircv3/monitor.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ async def monitor(self, target):
4242
await self.rawmsg('MONITOR', '+', target)
4343
self._monitoring.add(target)
4444
return True
45-
else:
46-
return False
45+
return False
4746

4847
async def unmonitor(self, target):
4948
""" Stop monitoring the online status of a user. Returns whether or not the server supports monitoring. """

0 commit comments

Comments
 (0)