Update pug.py

Fixed the bug that causes it to not check if the user issuing the command is admin or not