The electrical sockets used in Morocco are type C and type E. These are 2 variants of the same socket - one earthed (with an earth pin) and the other unearthed. You will therefore need a UK 3 pin to type C/E plug adaptor in order to connect your devices.